<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/public/header.jsp"%>
<%
    String callback = request.getParameter("callback");
    String id = request.getParameter("id") == null ? "" : request.getParameter("id");
    boolean isAdd = "".equals(id);
    int flag = 0;
    if(!isAdd){
    	flag = 1;
    }
%>

<html>
	<head>
		<title>查看消息详情</title>
		<style>
			.td1{
				padding-top:10px;
				padding-bottom:5px;
				font-size: 12px;
				background-color: #c0ebd7;
				width:20%;
			}
			.td2{
				padding:5px;
			}
			.tdg{
			padding-top:10px;
			padding-bottom:5px;
			font-size: 12px;
			background-color: #c0ebd7;
			width:20%;
		}
		.tdb{
			padding:5px;
			width:30%;
		}
		</style>
	</head>
	<script type="text/javascript">	
		$(function(){
			$('#ff').form("load",'<%=contextPath %>/springMVC/sms/getSMS?id=<%=id%>');
		});
		
	</script>
	<body>
<form id="ff" method="POST">
		<div style="width:90%;padding-left:50px;margin-top:50px">
			<table  style="border-collapse: collapse;" width="100%" border="1px" bordercolor="#0eb83a">
				<tr>
					<td align="right"  nowrap class="td1">
					发送人：
					</td>
					<td class="td2" nowrap>
						<input  id="truename" name="truename" class="easyui-validatebox"  data-options="required:true">
					</td>
				</tr>
				<tr>
					<td align="right"  nowrap class="td1">
						发送时间：
					</td>
					<td class="td2" nowrap >
						<input type="text" id="create_time" name="create_time"  class="easyui-validatebox" data-options="required:true">
					</td>
				</tr>
				<tr>
					<td align="right"  nowrap class="td1">
						消息类型：
					</td>
					<td class="td2" nowrap >
						<input id="sms_module" name="sms_module"/>
					</td>
				</tr>
				<tr>
					<td align="right"  nowrap class="td1">
						消息标题：
					</td>
					<td class="td2" nowrap >
						<input id="sms_title" name="sms_title" />
					</td>
				</tr>
				<tr>
					<td align="right"  nowrap class="td1">
						消息内容：
					</td>
					<td class="td2" nowrap >
						<input id="sms_body" name="sms_body" />
					</td>
				</tr>
				<tr>
					<td align="right" nowrap class="td1">
					</td>
					<td  nowrap colspan="5">
						<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:false" onclick="javascript:window.close();">关闭</a>
					</td>
				</tr>
				
 			</table>
		</div>
		</form>
	</body>
</html>
